import Ax from './api';

export default {
  protocolTypeAdd: (param = {}) => Ax.put(`/protocolType/add`, param),
  protocolTypeEdit: (param = {}) => Ax.put(`/protocolType/edit`, param),
  protocolTypeDelete: (query = {}) => Ax.delete(`/protocolType/delete?_id=${query._id}`),
  protocolTypeList: (param = {}) => Ax.post(`/protocolType/list`, param),
  protocolTypeAll: (query = {}) => Ax.get(`/protocolType/all`),
  protocolTypeDetail: (query = {}) => Ax.get(`/protocolType/detail?_id=${query._id}`),
};
